#!/bin/bash

echo "Running script from $PWD \n"

echo "Removing .vimrc from home directory \n"
rm $HOME/.vimrc
echo "Removing .vim directory from home directory \n"
rm -rf $HOME/.vim
echo "Removing .bashrc from home directory \n"
rm $HOME/.bashrc
echo "Removing .bash_profile from home directory \n"
rm $HOME/.bash_profile

echo "Making symbolic link to synchronized .vimrc \n"
ln -s $PWD/.vimrc $HOME/.vimrc

echo "Making symbolic link to synchronized .vim folder \n"
ln -s $PWD/.vim $HOME/.vim

echo "Making symbolic link to synchronized .bashrc \n"
ln -s $PWD/.bashrc $HOME/.bashrc

echo "Making symbolic link to synchronized .bash_profile \n"
ln -s $PWD/.bash_profile $HOME/.bash_profile

